import type { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw = {
  path: '/order-details/:id',
  name: 'order-details',
  component: () => import('@/views/orderPage.vue'),
  meta: {
    title: '测试页面1',
    singleMenu: true,
    props: true, // 允许使用 props 接收参数
  },
}

export default routes
